blkif = blkif_find_by_handle(create->domid, create->blkif_handle);
if ( unlikely(blkif == NULL) )
{
- DPRINTK("vbd_create attempted for non-existent blkif (%u,%u)\n",
+ PRINTK("vbd_create attempted for non-existent blkif (%u,%u)\n",
create->domid, create->blkif_handle);
create->status = BLKIF_BE_STATUS_INTERFACE_NOT_FOUND;
return;
}
else
{
- DPRINTK("vbd_create attempted for already existing vbd\n");
+ PRINTK("vbd_create attempted for already existing vbd\n");
create->status = BLKIF_BE_STATUS_VBD_EXISTS;
goto out;
}
if ( unlikely((vbd = kmalloc(sizeof(vbd_t), GFP_KERNEL)) == NULL) )
{
- DPRINTK("vbd_create: out of memory\n");
+ PRINTK("vbd_create: out of memory\n");
create->status = BLKIF_BE_STATUS_OUT_OF_MEMORY;
goto out;
}
blkif = blkif_find_by_handle(grow->domid, grow->blkif_handle);
if ( unlikely(blkif == NULL) )
{
- DPRINTK("vbd_grow attempted for non-existent blkif (%u,%u)\n",
+ PRINTK("vbd_grow attempted for non-existent blkif (%u,%u)\n",
grow->domid, grow->blkif_handle);
grow->status = BLKIF_BE_STATUS_INTERFACE_NOT_FOUND;
return;
if ( unlikely(vbd == NULL) || unlikely(vbd->vdevice != vdevice) )
{
- DPRINTK("vbd_grow: attempted to append extent to non-existent VBD.\n");
+ PRINTK("vbd_grow: attempted to append extent to non-existent VBD.\n");
grow->status = BLKIF_BE_STATUS_VBD_NOT_FOUND;
goto out;
}
if ( unlikely((x = kmalloc(sizeof(blkif_extent_le_t),
GFP_KERNEL)) == NULL) )
{
- DPRINTK("vbd_grow: out of memory\n");
+ PRINTK("vbd_grow: out of memory\n");
grow->status = BLKIF_BE_STATUS_OUT_OF_MEMORY;
goto out;
}
#if 0
if( !blk_size[MAJOR(x->extent.device)] )
{
- DPRINTK("vbd_grow: device %08x doesn't exist.\n", x->extent.device);
+ PRINTK("vbd_grow: device %08x doesn't exist.\n", x->extent.device);
grow->status = BLKIF_BE_STATUS_EXTENT_NOT_FOUND;
goto out;
}
if ( x->extent.sector_start > 0 )
{
- DPRINTK("vbd_grow: device %08x start not zero!\n", x->extent.device);
+ PRINTK("vbd_grow: device %08x start not zero!\n", x->extent.device);
grow->status = BLKIF_BE_STATUS_EXTENT_NOT_FOUND;
goto out;
}
blkif = blkif_find_by_handle(destroy->domid, destroy->blkif_handle);
if ( unlikely(blkif == NULL) )
{
- DPRINTK("vbd_destroy attempted for non-existent blkif (%u,%u)\n",
+ PRINTK("vbd_destroy attempted for non-existent blkif (%u,%u)\n",
destroy->domid, destroy->blkif_handle);
destroy->status = BLKIF_BE_STATUS_INTERFACE_NOT_FOUND;
return;